RKCTSEAR
Search for 1 or 2 strings in source code.
ABAP Tips
SELECT ... INTO
If your query does not return a result (sy-subrc=4), then your internal table is not updated. You must be sure to check sy-subrc.
VBAKIN/VBAPIN
If you need to check if a user changed a value in a sales order user exit, then the structures VBAKIN and VBAPIN will contain a value in the field that you are checking. For example, if you change the shipping point (VBAP-VSTEL), then in the user exit you wish to see if the user changed it or did the system change it, you would check for the value in VBAPIN-VSTEL. If they do not change a field, then it is INITIAL. If the user has changed it, it will contain the value that the user entered.
Report Programs
Search for 1 or 2 strings in source code.
ABAP Tips
If your query does not return a result (sy-subrc=4), then your internal table is not updated. You must be sure to check sy-subrc.
If you need to check if a user changed a value in a sales order user exit, then the structures VBAKIN and VBAPIN will contain a value in the field that you are checking. For example, if you change the shipping point (VBAP-VSTEL), then in the user exit you wish to see if the user changed it or did the system change it, you would check for the value in VBAPIN-VSTEL. If they do not change a field, then it is INITIAL. If the user has changed it, it will contain the value that the user entered.